
#ifndef _MENU_H
#define _MENU_H

#include "../common/IScreen.h"
#include "MenuItem.h"
#include <list>

class Menu : public IScreen{
	public:
        ~Menu();
        void setBackground(BITMAP *);
        BITMAP * getBackground();
        void addMenuItem(MenuItem * item);
        void setFont(FONT* font);
        std::list<MenuItem*> getMenuItems();

    protected:
        const static int Y_OFFSET = 50; //spacing between menu items

    private:        
        BITMAP * draw();
        BITMAP * mBackground;
        std::list<MenuItem*> mItems;
        FONT * mFont;
};

#endif
